//
//  DatePickerWithoutYearViewController.h
//  DatePickerWithoutYear
//
//  Created by Ajay on 8/2/10.
//  Copyright Tap Inferno (www.tapinferno.com) 2010. All rights reserved.
//
// This project creates an iPhone custom UIPickerView, to replace a UIDatePicker, and contains only months and days

#import <UIKit/UIKit.h>

@interface DatePickerWithoutYearViewController : UIViewController <UIPickerViewDelegate, UIPickerViewDataSource> {
    IBOutlet UIPickerView *monthDayPicker;
    IBOutlet UITextField *yearTextField;
    IBOutlet UILabel *selectedDate;
    
    NSInteger maxDaysForMonth;
    NSArray *monthNames;
    NSDateFormatter *dateFormatter;
}

@property(nonatomic, retain) NSArray *monthNames;
@property(nonatomic, retain) NSDateFormatter *dateFormatter;

-(IBAction)setYear;
-(IBAction)selectDate;

@end

